#ifndef __TEACHER_H_
#define __TEACHER_H_
#define StuSize 10

#include "student.h"

struct Teacher
{
    char Name[NameSize];
    int age;
    Stu s[StuSize];
    int size;//学生数量
};
typedef struct Teacher Teach;

void InitTeacher(Teach *t,const char *name,int age);
void InserStu(Teach *t,int id,const char *StuName);
void RemovebyIndex(Teach *t,int index);
void RmStuByID(Teach *t,int ID);
void RmStuByname(Teach *t,const char *name);
Stu* FindStuByName(Teach *t,const char *name);
void PrintTeacher(Teach *t);
#endif